﻿<UserControl x:Class="Domino.TileVertical"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:domino="clr-namespace:Domino" 
             mc:Ignorable="d" Height="105" Width="50">

    <Border Name="brdMain" Background="LightYellow" BorderBrush="Gray" BorderThickness="2" CornerRadius="5">
        <Grid Name="MainLayout" ToolTip="{Binding TileValue}">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="5" />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <domino:TileHorizontal RenderTransformOrigin="0.5,0.5" Margin="-30" Grid.Row="1" >
                <domino:TileHorizontal.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform Angle="90"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </domino:TileHorizontal.RenderTransform>
            </domino:TileHorizontal>
        </Grid>
    </Border>
</UserControl>
